<?php
/**
 * Created by PhpStorm.
 * User: ZZF
 * Date: 2017/3/16
 * Time: 11:36
 */

namespace app\admin\model;
use think\Model;
use think\Verify;
class OrderCarModel extends Model{
	protected $validate = [
        'rule' => [
           'order_no' => "require|unique:order_car|length:2,32"
        ],
        'msg'  => [
           'order_no.require' => "订单编号必须填写！",
           'order_no.unique' => "订单编号已存在！",
           'order_no.length' => "订单编号长度必须不少于2"
        ]
   ];
}
